//
// Created by lvyer on 2021/11/29.
//

#ifndef LEARNOPENGL_TEXTURERENDERER_H
#define LEARNOPENGL_TEXTURERENDERER_H


#include "AbstractBaseFilter.h"
#include <GLES3/gl3.h>
#include "../tools/GLTools.h"

#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <EGL/eglplatform.h>

class RendererFilter : public AbstractBaseFilter {
public:
    unsigned int VBO, VAO, EBO;

    RendererFilter();

    ~RendererFilter();

    void initFilter() override;

    void changerFilter(int, int) override;

    int drawFilter(int) override;

    bool createFrameBufferObj(int, int);
};

#endif //LEARNOPENGL_TEXTURERENDERER_H
